{% extends 'base.html' %} {% block title %}Library{% endblock %} {% from 'bootstrap4/table.html' import render_table %} {% block content %}

My Library

{% if books %} {% for book in books %} {% endfor %}
Title-Book Name Author Rating Actions
{{ book.title }} {{ book.author }} {{ book.rating }}/10
{% else %}

Library is empty.

{% endif %} {% endblock %}